package com.sjgtw.cloud.web.repairRecords.mapper;

import com.sjgtw.cloud.web.repairRecords.domain.RepairRecords;

import java.util.List;

/**
 * 圬工补修记录Mapper接口
 * 
 * @author lvyoufang
 * @date 2024-03-14
 */
public interface RepairRecordsMapper 
{
    /**
     * 查询圬工补修记录
     * 
     * @param id 圬工补修记录主键
     * @return 圬工补修记录
     */
    public RepairRecords selectRepairRecordsById(Long id);

    /**
     * 查询圬工补修记录列表
     * 
     * @param repairRecords 圬工补修记录
     * @return 圬工补修记录集合
     */
    public List<RepairRecords> selectRepairRecordsList(RepairRecords repairRecords);

    /**
     * 新增圬工补修记录
     * 
     * @param repairRecords 圬工补修记录
     * @return 结果
     */
    public int insertRepairRecords(RepairRecords repairRecords);

    /**
     * 修改圬工补修记录
     * 
     * @param repairRecords 圬工补修记录
     * @return 结果
     */
    public int updateRepairRecords(RepairRecords repairRecords);

    /**
     * 删除圬工补修记录
     * 
     * @param id 圬工补修记录主键
     * @return 结果
     */
    public int deleteRepairRecordsById(Long id);

    /**
     * 批量删除圬工补修记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRepairRecordsByIds(String[] ids);

    void batchSave(List<RepairRecords> entities);
}
